package com.scuec.demo1.service;

import com.github.pagehelper.PageInfo;
import com.scuec.demo1.entity.StudentInfo;
import java.util.List;

public interface StudentService {
    PageInfo<StudentInfo> getStudentInfoPages(Integer pageNum, Integer pageSize);
    PageInfo<StudentInfo> getStudentByPage(Integer pageNum, Integer pageSize);  // 可选
    List<StudentInfo> getStudentInfo();
    StudentInfo getStudentInfoById(Integer id);
    int deleteStudentInfoById(Integer id);
    int insertStudentInfo(StudentInfo studentInfo);
    int updateStudentInfo(StudentInfo studentInfo);
}

